package chat.serverToClientMessage;

import chat.client.Client;

import java.util.List;


public class RoomUpdate implements ServerToClientMessage{

	private static final long serialVersionUID = 1L;
	private List<String> roomList;
	
	public RoomUpdate(List<String> list) {
		this.roomList = list;
	}

	@Override
	public void processOnClient(Client client) {
		client.updateRoom(roomList);
	}
	

}
